<!DOCTYPE html>
<html>
<head>
    <style>
        body{ margin: 0; padding: 0;}
        /*body{ background: #fff url(bg.jpg) 0 0 repeat;}*/
    </style>
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
    <script>
        $(document).ready(function(){
            $(document).mousemove(function(event){
//                $("span").text(event.pageX + ", " + event.pageY);
                console.log(event.pageX + ", " + event.pageY);
            });
        });
    </script>
</head>
<body>

<img src="bg.jpg" alt=""/>

<!--<p>Mouse is at coordinates: <span></span>.</p>-->

</body>
</html>
